Azure Maps Map Configuration Service (stable:2023-07-01)

2025/10/06 • 5 deleted methods

MapConfiguration_Create (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Map Configuration Create request allows the caller to create a map configuration in their Azure Maps account. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator. ## Submit Create Request To create your map configuration you will make a `POST` request with a map configuration file. ### POST Body for Create Request An `HTTP POST` request with the map configuration data in the body of the request is required to create a new map configuration in your Azure Maps account. The map configuration data must be in JSON format with `Content-Type` set to `application/json` in the header. Alternatively, you can send the map configuration JSON in a ZIP file along with any thumbnail images it references, with `Content-Type` set to `application/zip` in the header. Note: The embedded JSON size limit is 1 MB and zip file size limit is 23 MB. Here's a sample map configuration json: ```json { "version": 1.0, "description": "First indoor map configuration!", "defaultConfiguration": "indoor_light", "configurations": [ { "name": "indoor_light", "displayName": "Indoor light", "theme": "light", "thumbnail": "indoor_2022-01-01.png", "baseMap": "microsoft_light", "layers": [ { "tilesetId": "9601b149-cff6-dae6-af94-396f1b795fdb", "styleId": "microsoft-maps:indoor_2022-01-01" } ] }, { "name": "indoor_dark", "displayName": "Indoor dark", "theme": "dark", "baseMap": "microsoft_dark", "thumbnail": "indoor_dark_2022-01-01.png", "layers": [ { "tilesetId": "9601b149-cff6-dae6-af94-396f1b795fdb", "styleId": "microsoft-maps:indoor_dark_2022-01-01" } ] } ] } ``` Since the map configuration json contains two thumbnail image references 'indoor_2022-01-01.png' and 'indoor_dark_2022-01-01.png', a zip file including the map configuration json file and two thumbnail images should be provided as request body to make a valid create request. The Create Map Configuration API is a [long-running operation](https://aka.ms/am-creator-lrt-v2).
Reference Link ¶

⚼ Request

POST:  /styles/mapconfigurations
{
x-ms-client-id: string ,
api-version: string ,
alias: string ,
description: string ,
MapConfiguration:
{
version: number ,
description: string ,
defaultConfiguration: string ,
configurations:
[
{
name: string ,
displayName: string ,
description: string ,
theme: enum ,
thumbnail: string ,
baseMap: enum ,
layers:
[
{
tilesetId: string ,
styleId: string ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MapConfiguration_List (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Map Configuration List request allows the caller to fetch a list of all map configurations created. You will see all the default map configurations which are created during tileset creation. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator.
Reference Link ¶

⚼ Request

GET:  /styles/mapconfigurations
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
mapConfigurations:
[
{
mapConfigurationId: string ,
description: string ,
alias: string ,
created: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MapConfiguration_Get (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Map Configuration Get request allows the caller to fetch a map configuration. The response contains a zip file with the map configuration JSON and any image files it references. You can always get the default map configuration using predefined alias `defaultIndoor_{tilesetId}` for a given tileset if you deleted the auto-generated map configuration. The two predefined styles used in default map configuration are `microsoft-maps:indoor_2022-01-01` and `microsoft-maps:indoor_dark_2022-01-01`. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator.
Reference Link ¶

⚼ Request

GET:  /styles/mapconfigurations/{mapConfigurationId}
{
x-ms-client-id: string ,
api-version: string ,
mapConfigurationId: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MapConfiguration_Delete (removed)
Description **Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier). The Map Configuration Delete request allows the caller to remove a map configuration from their Azure Maps account. You can use this API if a map configuration is no longer needed. Creator makes it possible to develop applications based on your private indoor map data using Azure Maps API and SDK. [This](https://docs.microsoft.com/azure/azure-maps/creator-indoor-maps) article introduces concepts and tools that apply to Azure Maps Creator. ### Submit Delete Request An `HTTP DELETE` request with the `mapConfigurationId` in the path of the request is required to remove an existing map configuration from your Azure Maps account.
#### Delete request "Successful" The Map Configuration Delete API returns a HTTP `204 No Content` response with an empty body, if the map configuration was deleted successfully.
#### Delete request "Failed" A HTTP `400 Bad Request` error response will be returned if the map configuration with the passed-in `mapConfigurationId` is not found. Here is a sample error response:
```json { "error": { "code": "400 BadRequest", "message": "Bad request - MapConfiguration Id: d85b5b27-5fc4-4599-8b50-47160e90f8ce does not exist." } } ```
Reference Link ¶

⚼ Request

DELETE:  /styles/mapconfigurations/{mapConfigurationId}
{
x-ms-client-id: string ,
api-version: string ,
mapConfigurationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MapConfiguration_GetOperation (removed)
Description The Map Configuration Get Operation request is obtained from the call to create a map configuration. It is returned in the response headers Resource-Location key once the creation process has completed successfully.
Reference Link ¶

⚼ Request

GET:  /styles/mapconfigurations/operations/{operationId}
{
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
$headers:
{
resource-location: string ,
}
,
$schema:
{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}